<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>岗位投递者信息</title>
		<link rel="stylesheet" href="../../../component/pear/css/pear.css" />
	</head>
	<body>
	<table class="layui-table" lay-skin="line">
		<colgroup>
			<col width="150">
			<col width="150">
			<col width="200">
			<col width="150">
		</colgroup>
		<thead>
		<tr>
			<th>简历编号</th>
			<th>姓名</th>
			<th>投递时间</th>
			<th>手机号</th>
		</tr>
		</thead>
		<tbody id="tbody-data">
		</tbody>
	</table>
		<script src="../../../component/layui/layui.js"></script>
		<script src="../../../component/pear/pear.js"></script>
		<script>
			layui.use(['form', 'jquery','upload'], function() {
				let form = layui.form;
				let $ = layui.jquery;
				var upload = layui.upload;
				$.ajaxSetup({
					headers:{
						'Authorization':window.sessionStorage.getItem("token")
					}
				})
				$(function (){
					$.getJSON(window.BASEPATH+"job/selResume/"+sessionStorage.getItem("id"),
							function(res){
								var data = res.data;
								var html = '';
								for(var i = 0;i < data.length;i++) {
									html += '<tr>';
									html += '<td>' + data[i].id + '</td>';
									html += '<td>' + data[i].jname + '</td>';
									html += '<td>' + data[i].posttime + '</td>';
									html += '<td>' + data[i].phone + '</td>';
									html += '</tr>';
								}
								$('#tbody-data').html(html);
							});
				});
			})
		</script>
		<script>
		</script>
	</body>
</html>
